package com.test.mybatis.generator;

import io.swagger.annotations.ApiImplicitParam;
import lombok.Data;
import lombok.ToString;

/**
 * 零售云
 *
 * @author wsh
 * @date 2022-08-04 19:38
 **/
public class SwaggerHeader {
    private String name;
    private String value;
    private boolean required;
    private String paramType;

    @ApiImplicitParam(name="mobile",value="手机号",required=true,paramType="form")
    @Override
    public String toString() {
        return "@ApiImplicitParam(" +
                "name=" +"\""+ name +"\"" +
                ", value=" +"\""+ value +"\""+
                ", required=" + required +
                ", paramType=" +"\""+ paramType +"\""+
                "),";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }
}
